import {defineStore} from 'pinia'
import {ref} from 'vue'

export const useTeacherIdentityStore = defineStore('teacherIdentity',()=>{
    const teacherIdentity = ref('')

    const setTeacherIdentity = (newTeacherIdentity)=>{
        teacherIdentity.value = newTeacherIdentity
    }

    const removeTeacherIdentity = ()=>{
        teacherIdentity.value = ''
    }

    return{
        teacherIdentity,setTeacherIdentity,removeTeacherIdentity
    }
},{
    persist:true
});
